package com.cskaoyan.service.wx_coupon;

import com.cskaoyan.bean.wx_coupon.WxCoupon;
import com.cskaoyan.bean.wx_coupon.WxCouponInfo;
import com.cskaoyan.bean.wx_coupon.WxCouponPageData;
import com.cskaoyan.bean.wx_coupon.vo.WxCouponMyListVo;

import java.util.List;

/**
 * @Description:
 * @author: Jason 805636901@qq.com
 * @create: 2021-10-22-10:33 AM
 */
public interface WxCouponService {

    WxCouponPageData queryWxCouponList(Integer page, Integer limit);

    WxCouponMyListVo queryMyCouponBySatus(int status, int page,Integer id);


    WxCouponMyListVo queryMyAvailableCoupon(Integer id);

    int validCode(String code,Integer id);

    WxCoupon findById(Integer id);

    List<WxCouponInfo> queryMyAvailableCoupon1(Integer cartId, Integer grouponRulesId);
}
